#ifndef _MOVABLE_H_
#define _MOVABLE_H_

#include <d3dx9.h>

#include "sprite.h"
#include "objects.h"
#include "picture.h"

class CMovable : public CObjects
{
public:
	CMovable();
	~CMovable();
	int state;

	virtual int BeforeMove();
	virtual void CheckCol();
	virtual void AfterMove(int ii);
	virtual void Move(int way,int t);
	virtual void Update(int t);
	virtual void isJumpedOn(CObjects *);
	virtual void RenderFrame(LPDIRECT3DDEVICE9 d3ddv, int t);
	virtual void LoadResources(LPDIRECT3DDEVICE9 d3ddv);
};
#endif